import request from '@/utils/request'
// 查询参数列表
// 新增参数配置

//摄像头列表
export function equipmentmanagement(query) {
    return request({
        url: '/business/bizCameraInfo/list',
        method: 'GET',
        params: query
    })
}

//修改摄像头
export function updateCameraInfo(data) {
    return request({
        url: '/business/bizCameraInfo/updateCameraInfo',
        method: 'post',
        data: data
    })
}

//删除摄像头
export function deleteCameraInfo(data) {
    return request({
        url: '/business/cameraInfo/deleteCameraInfo',
        method: 'post',
        data: data
    })
}

//摄像头入网
export function retrievalCameraByDevice(data) {
    return request({
        url: '/business/cameraInfo/retrievalCameraByDevice',
        method: 'post',
        params: data
    })
}

//新增摄像头
export function addCameraInfo(data) {
    return request({
        url: '/business/cameraInfo/addCameraInfo',
        method: 'post',
        params: data
    })
}

//摄像头绑定记录
export function quibuiding(query) {
  return request({
    url: 'system/cameraRecordInfo/list',
    method: 'get',
    params: query
  })
}
